<?php

/* @var $this yii\web\View */
use yii\bootstrap\Alert;

$this->title = '大牛数据平台--大牛学院旗下全国招聘信息数据统计平台';
?>



<div class="body">
    <div id="socialContainer">
        <div id="job-menu">
            <div class="narrow">
                <div>
                    <ul class="filter-container">
                        <li selecteditem="[object Object]" iconclass="coordinate-icon" list="" itemlist="" class="item">
                            <span class="icons coordinate-icon"></span>

                            <label class="show-text active">
                                高级搜索（开发中）
                            </label>
                            <span class="angle-gray-down"></span>
                        </li>
                   </ul>
                    <form id="search" action="index.php?r=search" method="post" style="display:inline">
                        <div class="search-warp pull-right">
                            <input id="search-input" name="DwDataJobsSearch[job_name]" class="pull-left">
                            <a class="transition" href="javascript:void(0)" onclick="document.getElementById('search').submit()"><span class="search-icon"></span></a>
                        </div>
                    </form>
                </div>
            </div>
        </div>
        <div class="container">
            <div class="narrow">
                <div><div class="job-list-message">
                        <h2 class="pull-left">搜索职位信息</h2>
                        <div class="pull-right">
                            <span class="blue search-key pull-left"></span>
                            <div class="pull-right">
                                <span class="red"><?php echo count($resultData); ?></span>
                                个符合职位
                            </div>
                        </div>
                    </div>
                    <div class="job-list">
                        <div class="list-header">
                            <div class="list-row">
                                <div class="column1">
                                    职位名称
                                </div>
                                <div class="column2">
                                    全国平均工资
                                </div>
                                <div class="column3">
                                    最高平均工资
                                </div>
                                <div class="column4">
                                    最高城市
                                </div>
                                <div class="column5">
                                    最低平均工资
                                </div>
                                <div class="column5">
                                    最低城市
                                </div>
                                <div class="column5">
                                    招聘总数量
                                </div>
                                <div class="column5">
                                    更新时间
                                </div>
                            </div>
                        </div>
                        <div class="list-body">
                            <?php
                                foreach($resultData as $data){

                                ?>
                            <div class="list-row">
                                <div class="column1">
                                    <a href="index.php?r=job&id=<?php echo $data['job_id'] ?>" target="_blank"><?php echo $data['job_name'] ?></a>
                                </div>
                                <div class="column2">
                                    <?php echo $data['avg'] ?>
                                </div>
                                <div class="column3">
                                    <?php echo $data['max_avg'] ?>
                                </div>
                                <div class="column4">
                                    <?php echo $data['max_city_name'] ?>
                                </div>
                                <div class="column5">
                                    <?php echo $data['min_avg'] ?>
<!--                                    <a class="down-arrow-icon pull-right toggle-detail" data-index="0"></a>-->
                                </div>
                                <div class="column5">
                                    <?php echo $data['min_city_name'] ?>
                                </div>
                                <div class="column5">
                                    <?php echo $data['total_num'] ?>
                                </div>
                                <div class="column5">
                                    <?php echo $data['date_line'] ?>
                                </div>
                            </div>
                            <?php } ?>
                        </div>
                    </div>
                </div>
<!--                <div class="pagination">-->
<!--                    <ul>-->
<!---->
<!--                        <li class="page">-->
<!--                            <a data-index="1" class="active">1</a>-->
<!--                        </li>-->
<!---->
<!--                        <li class="page">-->
<!--                            <a data-index="2">2</a>-->
<!--                        </li>-->
<!---->
<!--                        <li class="page">-->
<!--                            <a data-index="3">3</a>-->
<!--                        </li>-->
<!---->
<!--                        <li class="page">-->
<!--                            <a data-index="4">4</a>-->
<!--                        </li>-->
<!---->
<!--                        <li class="page">-->
<!--                            <a data-index="5">5</a>-->
<!--                        </li>-->
<!--                        <li class="ellipsis">-->
<!--                            ...-->
<!--                        </li>-->
<!---->
<!--                        <li>-->
<!--                            <a class="pre"><span class="i-pre-icon"></span>&nbsp;</a>-->
<!--                        </li>-->
<!--                        <li>-->
<!--                            <a class="next"><span class="i-next-icon"></span>&nbsp;</a>-->
<!--                        </li>-->
<!--                    </ul>-->
<!--                </div>-->
            </div>
        </div>
    </div>
</div>

